<!DOCTYPE html>
<html ng-app='myApp' ng-controller='appController'>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<input type="checkbox" name="" id="" value="" />
		<script type="text/javascript" src="../js/angular.js" ></script>
		<script>
			angular.module('myApp',[])
				.controller('appController',['$scope',function($scope){
					var now=false;
					$socpe.toggleAll=function(){
						for(var i=0;i<$scope.toolds.length;i++){
							$scope.toolds[i].cpmplete=true;
						}
						now=!now;
					}
					
					
				}])
		</script>
	</body>
</html>
